-- msg_forbid_recharge
-- Created by chengb Dec/28/2016
-- 服务器禁止充值

return function(lpc)
    local reason    = lpc.reason;
    local isConfirm = lpc.is_confirm;

    -- 打上禁止充值的标记
    ME.user.dbase:set("forbid_device_recharge", true);

    if isConfirm == 1 then
        confirm2(CONFIRM_TYPE_OK, getLocStr("slime_note"), getDialogStr(reason), showFAQs);
    end
end
